Experimental Assessment ofthe E ect of Inheritance on the Maintainability ofObject - Oriented
نویسندگان
چکیده
In this paper, we describe an empirical investigation into the modiiability and understandability of Object-Oriented (OO) software. A controlled experiment was conducted to establish the eeects of varying levels of inheritance on understandability and modiiability. The software used in this experiment consisted of a C++ system without any inheritance and a corresponding version containing three levels of inheritance, as well as a second larger C++ system without inheritance and a corresponding version with ve levels of inheritance. For both of the systems, the application modelled a database for a University personnel system. A number of statistical hypotheses were tested. Results indicated that the systems without inheritance were easier to modify than the corresponding systems containing three or ve levels of inheritance. Also, it was easier to understand the system without inheritance than a corresponding version containing three levels of inheritance. Results also indicated that larger systems are equally diicult to understand whether or not they contain inheritance. The results contained in this paper highlight the need for further empirical investigations in this area, particularly into the beneets of using inheritance.
منابع مشابه
An Empirical Study Evaluating Depth of Inheritance on the Maintainability of Object Oriented Software
This empirical research was undertaken as part of a multi method programme of research to investigate unsupported claims made of object oriented technology A series of subject based laboratory experiments including an internal replication tested the e ect of inheritance depth on the maintainability of object oriented software Subjects were timed performing identical maintenance tasks on object ...
متن کاملAssessing Software Maintainability Based on Class Diagram Design : A Preliminary Case Study Yao
Can software maintainability be assessed at the early design stage? For a preliminary answer, we conducted a case study. The study adopts a set of metrics for class diagram measurement, and defines three indices for maintainability assessment from the defect-correction perspectives. The dataset under investigation includes the defect repository and corrective maintenance history of Apache Tomca...
متن کاملA Quantitative Evaluation of Maintainability of Software Architecture Styles
Proper decisions play a crucial role in any software architecture design process. An important decision of design stage is the selection of a suitable software architecture style. Lack of investigation on the quantitative impact of architecture styles on software quality attributes is the main problem in using such styles. Consequently, the use of architecture styles in designing is based on th...
متن کاملMeasurement of Software Maintainability and Reusability in the Object Oriented Paradigm
The Metrics Group of Virginia Tech has been studying the object oriented paradigm and how it relates to software maintainability and software reusability in an attempt to make programmers more productive. Software reuse is the key to increasing productivity within the software development process. By reusing existing software, time and effort are saved in the testing and maintenance phases of a...
متن کاملTypes and Trace E ects for Object Orientation
Trace e ects are statically generated program abstractions, that can be model checked for veri cation of assertions in a temporal program logic. In this paper we develop a type and e ect analysis for obtaining trace e ects of Object Oriented programs in Featherweight Java. We observe that the analysis is signi cantly complicated by the interaction of trace behavior with inheritance and other Ob...
متن کامل